package 设计模式.结构型.decorate装饰器.general;

/**
 * @author junjie.ding
 * @date 2020/3/9
 */
public abstract class Decorator extends Component{

    protected Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void operation() {
        component.operation();
    }
}
